<!--<include file="Public:head" />
 主体开始 
<div id="user_content">
    <table width="100%" border="0">
        <tr>
            <td width="156" valign="top">
        <include file="Public:left" />
        </td>
        <td valign="top">
            <div id="main_user" class="mainadmin">
                <div class="user_con" >
                    <div id="topFont">
                        <div class="left"> <h2>备份列表</h2></div>
                        <div class="right">
                        </div>
                        <div class="cl"></div>
                    </div>
                    <table class="user_table" border="0" cellSpacing="0" cellPadding="0" width="100%">
                        <tbody>
                            <tr>
                                <th width="40px">序号</th>
                                <th>文件名</th>
                                <th width="150px">备份时间</th>
                                <th width="130px">文件大小</th>
                                <th width="100px">操作</th>
                                
                            </tr>
                        <notempty  name="lists">

                            <foreach name="lists" key="key" item="row">
                                <if condition="$key gt 1">
                                <tr>
                                    <td>{$key-1}</td>
                                    <td style="text-align: left"><a href="{:U('Bak/index',array('Action'=>'download','file'=>$row))}">{$row}</a></td>
                                    <td>{$row|getfiletime=$datadir}</td>
                                    <td>{$row|getfilesize=$datadir}</td>
                                <td>
                                    <a href="{:U('Bak/index',array('Action'=>'download','file'=>$row))}">下载</a>
                                <a onclick="return confirm('确定将数据库还原到当前备份吗？')"href="{:U('Bak/index',array('Action'=>'RL','File'=>$row))}">还原</a>
                                <a onclick="return confirm('确定删除该备份文件吗？')"href="{:U('Bak/index',array('Action'=>'Del','File'=>$row))}">删除</a>
                                </td>
                                </tr>
                                </if>
                            </foreach>
                            <else/>
                            <tr>
                                <td colspan="7">没有找到相关数据。</td>
                            </tr>

                        </notempty>
                        </tbody>
                    </table>
                    <table border="0" width="100%">
                        <tbody>
                            <tr>
                                <td>
                                    <div class="result page">{$page}</div>
                                </td>
                                <td align="right">
                                    <div class="delselect">
                                        <a class="searchbutton" type="button" onClick="javascript:location.href='__URL__/index/Action/backup'">备份添加</a>
                                    </div>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </td>
        </tr>
    </table>
</div>
<include file="Public:foot" />-->
